schm-hr-eapi

(0 reviews)

English Version

schm-hr-eapi

Interface description: HR application system cluster
UAT_URL: https://schm-api-test.shiseido.cn/schm-hr-eapi
PROD_URL: https://schm-api.shiseido.cn/schm-hr-eapi

The application has the following functions:

  1. Used to interface to receive attendance data pushed by Gaiaworks.
  2. Provide Gaiaworks with a ready-to-call interface to get payroll data.
  3. Push attendance data to FSG regularly.
  4. Pull salary data from the FSG interface.
  5. Agents search successfactors' data.

Directory


This application acts as an entry agent of the HR application cluster and is responsible for receiving requests and distributing functions downwards.The whole system is dedicated to solving the management of salary, attendance, and personnel, organizational inquiries.

The whole system includes the management and inquiry of salary, attendance, personnel and organization information.

Salary data comes from fsg, attendance data from gaia, and people and organization data from successfactors.

1 Authentication Information

All request headers must contain the following key-value parameters as authentication information. You need to apply for this information from the administrator.

client_id: fa98****3452
client_secret: 108b****41f2

2 Interface list:

Interface RequestDescription
GET /api/v1/salaryGet salary data
POST /api/v1/attendancePush attendance data
GET /api/v1/attendanceInstant get attendance data
POST /api/v1/salary/syncManually sync payroll data
GET /api/v1/sf/employeeEmployee information query
GET /api/v1/sf/divisionDivision information query
GET /api/v1/sf/departmentDepartment information query
GET /api/v1/sf/companyCompany information query
GET /api/v1/sf/onboardingonboarding information query

3 Interface description

3.1 Get salary data

Interface Request: /api/v1/salary
Interface Description: Get payroll data from the hr interface.
Request method: GET

Request Body Description:

Field NameField Descriptionrequired
salary_monthSalary month (yyyyMM), e.g. 202405Y
sf_codeEmployee numberN
companycompany codeN
deptmentdeptment codeN
pageSizeMaximum number of returned person entries at a time. Default 500.N
pageNoTake the data on which page. begin from 0. Default 0.N

Request param example

https://schm-api-test.shiseido.cn/schm-hr-eapi/api/v1/salary?salary_month=202309&pageSize=100&pageNo=0

Response body example

[
    {
        "SFcode": "100003",
        "name": "chuan c lin",
        "company": "SCH",
        "deptment": "ShouFaShi",
        "salary_month": "202309",
        "item": [
            {
                "code": "A101",
                "name_cn": "基本薪资",
                "name_en": "Base pay",
                "amount": 2000
            },
            {
                "code": "A103",
                "name_cn": "车贴标准",
                "name_en": "Car sticker standard",
                "amount": 500.22
            },
            {
                "code": "A102",
                "name_cn": "基本薪资调整",
                "name_en": "Base pay adjustment",
                "amount": 2000
            }
        ]
    }
]

3.2 Push attendance data

Interface Request: /api/v1/attendance
Interface Description: Receive the attendance data pushed by the external.
Request method: POST

Request Body Description:

Field NameField Descriptionrequired
end_dateEnd dateY
apply_unitunitY
category_namecategoryY
create_timecreate timeY
category_codecategory codeY
begin_datebegin dateY
SFcodeSF job numberY
pay_monthPayroll monthY
attendance_nameattendance type nameY
attendance_numsSink totalY
nameEmployee nameY
companycorporationY
deptmentsectionY
attendance_typeattendance typeY

Request body example

[
    {
        "end_date": "2023-11-30",
        "apply_unit": "小时",
        "category_name": "休假",
        "create_time": "2023-12-22 18:15:58.000",
        "category_code": "LV",
        "begin_date": "2023-11-01",
        "SFcode": "100300000",
        "pay_month": "202312",
        "attendance_name": "病假(SCH)",
        "attendance_nums": 176.0,
        "name": "马化腾",
        "company": "SCH",
        "deptment": "DPTtx001",
        "attendance_type": "B01"
    },
    {
        "end_date": "2023-11-30",
        "apply_unit": "小时",
        "category_name": "工时",
        "create_time": "2023-12-22 18:15:58.000",
        "category_code": "WH",
        "begin_date": "2023-11-01",
        "SFcode": "30000008",
        "pay_month": "202312",
        "attendance_name": "排班工时",
        "attendance_nums": 176.0,
        "name": "余承东",
        "company": "SCH",
        "deptment": "DPTWH001",
        "attendance_type": "I02"
    }
]

Response body example

success response:

{
    "success": true,
    "message": "reveived 131 data."
}

error response:

{
    "success": false,
    "error": "error message"
}

3.3 Instant get attendance data

Interface Request: /api/v1/attendance
Interface Description: This interface is used to obtain the archived attendance data.
Request method: GET

Request Param Description:

Field NameField Descriptionrequired
salary_monthSalary month (yyyyMM), e.g. 202405Y
sf_codeEmployee numberN
companycompany codeN
deptmentdeptment codeN

Request param example

https://schm-api-dev.shiseido.cn/schm-hr-eapi/api/v1/attendance?pay_month=202309

Response body example

[
    {
        "SFcode": "100001",
        "name": "chuan c lin",
        "company": "SCH",
        "deptment": "ShouFaShi",
        "pay_month": "202309",
        "begin_date": "2023-08-01T00:00:00",
        "end_date": "2023-08-31T00:00:00",
        "category_code": "WH",
        "category_name": "工时",
        "attendance_type": "x1",
        "attendance_name": "当月工作天数",
        "attendance_nums": 23,
        "apply_unit": "d"
    },
    {
        "SFcode": "100001",
        "name": "chuan c lin",
        "company": "SCH",
        "deptment": "ShouFaShi",
        "pay_month": "202309",
        "begin_date": "2023-08-01T00:00:00",
        "end_date": "2023-08-31T00:00:00",
        "category_code": "WH",
        "category_name": "工时",
        "attendance_type": "x2",
        "attendance_name": "加班天数",
        "attendance_nums": 23,
        "apply_unit": "d"
    }
]

3.4 Manually sync payroll data.

Interface Request: /api/v1/salary/sync
Interface Description: Manually synchronize payroll data. Normally payroll data is automatically synchronized periodically. This interface is used to record payroll data.
Request method: POST

Request Param Description:

Field NameField Descriptionrequired
startTimesalary data begin dateY
endTimesalary data end dateY

Request body example

{
    "startTime": "2024-02-01",
    "endTime": "2024-03-01"
}

Response body example

success response:

{
    "success": true,
    "message": "reveived 131 data."
}

error response:

{
    "success": false,
    "error": "error message"
}

3.5 employee information query

Interface Request: /api/v1/sf/employee
Interface Description: successfactors employee information Interface.
Request method: GET

Request Param Description:

Field NameField Descriptionrequired
pageSizeNumber of entries returned per page, default 10N
pageNopage number default 0N
last_modified_date_timequery last updatetime after this valueN

Request body example

https://schm-api.shiseido.cn/schm-hr-eapi/api/v1/sf/employee?pageSize=10&pageNo=0

pageNo can be understood as "number of pages to be skipped", and the results displayed are the data after pageNo x pageSize. So if you want to display the first page of data, then pageNo is 0.

Response body Description

mulesoft columnSuccessFactors entitySuccessFactors columncolumn description
person_idPerPersonpersonIdExternalEmployee number
last_modified_date_timeN/AN/ATotal data last update date. This value is the latest update time of all entities. It is also the field in the parameter condition to make the decision
perperson_last_modified_date_timePerPersonlastModifiedDateTimeLast update time of PerPerson
date_of_birthPerPersondateOfBirthDate of birth
preferred_last_namePerPersonalcustomString1English surname
formal_full_namePerPersonalcustomString2English name
first_namePerPersonalfirstNameEnglish name
genderPerPersonalgendersex
gender_valuePerPersonalgenderGender (escaped by pickList)
agePerPersonalageage
last_namePerPersonallastNameEnglish name
marital_status_idPerPersonalmaritalStatusMarital status (sf original)
marital_statusPerPersonalmaritalStatusMarital status
marital_status_valuePerPersonalmaritalStatusMarital status (escaped by pickList)
nationalityPerPersonalnationalitynationality
preferred_first_namePerPersonalpreferredNameAddress sb. respectfully
last_name_alt1PerPersonallastNameAlt1Chinese surname
first_name_alt1PerPersonalfirstNameAlt1Chinese name
last_name_alt2PerPersonallastNameAlt2Chinese surname (alternate)
first_name_alt2PerPersonalfirstNameAlt2Chinese name (alternate)
last_name_cnPerPersonallastNameAlt1 or lastNameAlt2The lastNameAlt1 or lastNameAlt2 is Chinese
first_name_cnPerPersonalfirstNameAlt1 or firstNameAlt2firstNameAlt1 or firstNameAlt2 is Chinese
formalNamePerPersonalformalNameEnglish name
perpersonal_last_modified_date_timePerPersonallastModifiedDateTimePerPersonal last updated time
national_idPerNationalIdnationalIdId number
national_id_card_typePerNationalIdcardTypeDocument type
national_id_regionPerNationalIdcountryCountry/region
national_id_is_primaryPerNationalIdisPrimarymain
national_id_expiration_datePerNationalIdcustomDate1Due date
national_id_issue_datePerNationalIdcustomDate2Date of issue
national_id_issuing_authorityPerNationalIdcustomString1License issuing authority
email_typePerEmailemailTypeMailbox type
email_addressPerEmailemailAddressCompany email, personal email
is_primaryPerEmailisPrimarymain
phone_typePerPhonephoneTypeCompany phone, cell phone
extensionPerPhoneextensionextension
phone_numberPerPhonephoneNumberCompany phone, cell phone
country_codePerPhonecountryCodeCountry code
region_codePerPhonecustomString6Country/region
country_codePerPhonecountryCodeCountry code
region_codePerPhonecustomString6Country/region
address_typePerAddressDEFLTaddressTypePermanent address, domicile address
detailedPerAddressDEFLTaddress1Detailed address
streetPerAddressDEFLTaddress2street
districtPerAddressDEFLTaddress3County/region
countryPerAddressDEFLTcountryCountry/region
provincePerAddressDEFLTstateProvince/municipality
cityPerAddressDEFLTcityThe city
effective_start_datePaymentInformationV3effectiveStartDateEffective date
account_numberPaymentInformationDetailV3accountNumberBank account number
account_ownerPaymentInformationDetailV3accountOwnerAccount holder
bankPaymentInformationDetailV3bankBank name
namePerEmergencyContactsnamename
relationshipPerEmergencyContactsrelationshiprelation
phonePerEmergencyContactsphoneMobile phone number
province_of_hukou_idPerGlobalInfoCHNcustomString1Account location (sf original value)
province_of_hukouPerGlobalInfoCHNcustomString1domicile
province_of_hukou_valuePerGlobalInfoCHNcustomString1Domicile (escaped by pickList)
city_of_hukou_idPerGlobalInfoCHNcustomString2Account location (sf original value)
city_of_hukouPerGlobalInfoCHNcustomString2domicile
city_of_hukou_valuePerGlobalInfoCHNcustomString2Domicile (escaped by pickList)
place_of_hukouPerGlobalInfoCHNcustomString3domicile
level_of_challengePerGlobalInfoCHNcustomString4Disability class
hukou_type_idPerGlobalInfoCHNgenericNumber1Nature of Account (SCH, SZC)(sf original value)
hukou_typePerGlobalInfoCHNgenericNumber1Nature of household registration (SCH, SZC)
hukou_type_valuePerGlobalInfoCHNgenericNumber1Nature of account (SCH, SZC)(escaped by pickList)
type_of_challenge_idPerGlobalInfoCHNgenericString2Disability Description (sf original)
type_of_challengePerGlobalInfoCHNgenericString2Disability description
type_of_challenge_valuePerGlobalInfoCHNgenericString2Disability description (escaped by pickList)
reference_numberPerGlobalInfoCHNgenericString4Disability or not
ethnic_groupPerGlobalInfoCHNgenericNumber4nation
number_of_childrenPerGlobalInfoCHNgenericNumber5Number of children
political_statusPerGlobalInfoCHNcustomString5Political status
date_of_marriagePerGlobalInfoCHNcustomDate1Wedding date
userIdEmpEmploymentuserIdUser coding
probation_period_end_dateEmpEmploymentcustomDate1Trial end date
social_insurance_payment_dateEmpEmploymentcustomDate23Social security payment date
original_start_dateEmpEmploymentoriginalStartDateSocial seniority begins to count
service_dateEmpEmploymentServiceDateSocial seniority begins to count
seniority_start_dateEmpEmploymentseniorityDateEffective date of employment
probation_start_dateEmpEmploymentstartDateEmployment day
legacy_hris_idEmpEmploymentcustomString11HRM Employee Number
probation_start_dateEmpEmploymentstartDateDate of entry
probation_period_numberEmpEmploymentcustomDouble1Probation period
probation_period_frequencyEmpEmploymentcustomString1Probationary unit
probation_statusEmpEmploymentcustomString2Trial status
entry_into_groupEmpEmploymentcustomDate2Date of joining the group
rel_user_idEmpJobRelationshipsrelUserIdHRBP employee number
job_level_idEmpJobcustomString92Personnel Level (sf original)
job_levelEmpJobcustomString92Personnel level
job_level_valueEmpJobcustomString92Personnel level (escaped by pickList)
startdateEmpJobstartDateDepartmental change date
companyEmpJobcompanycorporation
divisionEmpJobdivisionThis department
departmentEmpJobdepartmentDepartment, subdepartment, team, group
parent_departmentFODepartmentdepartmentSuperior department
department_descriptionEmpJobBrand POS code
individual_global_gradeEmpJobcustomString103Individual Global Grade
contract_start_dateEmpJobcustomDate1Contract commencement date
contract_end_dateEmpJobcontractEndDateContract end date
contract_type_idEmpJobcontractTypeNo fixed term (sf original)
contract_typeEmpJobcontractTypeopen-ended
contract_type_valueEmpJobcontractTypeNo fixed term (escaped by pickList)
cost_centerEmpJobcostCenterCost center category
health_certificate_effective_dateEmpJobcustomDate6Health certificate issuing date
health_certificate_expiration_dateEmpJobcustomDate7Health certificate expiration date
health_certificateEmpJobcustomString121Health certificate
attendance_type_idEmpJobcustomString122Time system (sf original value)
attendance_typeEmpJobcustomString122Working hour system
attendance_type_valueEmpJobcustomString122Time system (escaped by pickList)
job_family_idEmpJobcustomString15Class Group (sf original value)
job_familyEmpJobcustomString15Class group
job_family_valueEmpJobcustomString15Job group (escaped by pickList)
brandEmpJobcustomString59brand
employee_class_idEmpJobemployeeClassEmployee Category (sf original value)
employee_classEmpJobemployeeClassEmployee category
employee_class_valueEmpJobemployeeClassEmployee category (escaped by pickList)
event_reasonEmpJobeventReasonRNS
event_dateEmpJobstartdateTransaction effective date
job_classificationEmpJobjobCodeRank, take the position
locationEmpJoblocationRegion (translated by FOLocation)
location_codeEmpJoblocationRegion (SF original value)
subsidy_criteria_idEmpJobcustomString128Job qualification (sf original value)
subsidy_criteriaEmpJobcustomString128Post qualification
subsidy_criteria_valueEmpJobcustomString128Job qualification (escaped by pickList)
admin_or_trade_idEmpJobcustomString125admin or trade(sf original value)
admin_or_tradeEmpJobcustomString125admin or trade
admin_or_trade_valueEmpJobcustomString125admin or trade(escaped by pickList)
positionEmpJobpositionJob code
position_entry_dateEmpJobpositionEntryDateJob start date
managerEmpJobmanagerIdLine supervisor
eventEmpJobeventincident
event_codeEmpJobeventEvent (externalCode corresponding to pickList)
job_functionEmpJobcustomString16Post function
grade_shkEmpJobpayGradeHong Kong ranks
employee_typeEmpJobemployeeTypeEmployee type
local_job_titleEmpJoblocalJobTitleLocal job title
public_job_title_engEmpJobjobTitleEnglish job title
mode_of_employment_idEmpJobcustomString160Employment Mode (SCS)(sf original)
mode_of_employmentEmpJobcustomString160Employment Model (SCS)
mode_of_employment_valueEmpJobcustomString160Employment Mode (SCS)(escaped by pickList)
branch_officeEmpJobcustomString2Default branch code
positionNav_externalName_defaultValueEmpJobpositionNav_externalNameJob Description c_title
employment_status_idEmpJobemplStatusActive status (sf original)
employment_status_codeEmpJobemplStatusOn-the-job status
employment_status_valueEmpJobemplStatusActive status (escaped by pickList)
empjob_last_modified_date_timeEmpJoblastModifiedDateTimeTime when EmpJob was last updated
compensation_startDateEmpCompensationstartDateThe effective date of the salary system
pay_groupEmpCompensationpayGroupSalary system
pay_componentEmpPayCompRecurringpayComponentWage structure/type of pay
currencyEmpPayCompRecurringcurrencyCodecurrency
frequencyEmpPayCompRecurringfrequencyfrequency
amountEmpPayCompRecurringpaycompvalueamount
recurring_startDateEmpPayCompRecurringstartDateEffective commencement date
termination_DateEmpEmploymentTerminationendDateResignation date
termination_reasonEmpEmploymentTerminationeventReasonReason for resignation
last_date_workedEmpEmploymentTerminationlastDateWorkedLast working date
empemploymenttermination_last_modified_date_timeEmpEmploymentTerminationlastModifiedDateTimeEmpEmploymentTermination Last Update time

Response body example

[
    {
    "person_id": "10030227",
    "last_modified_date_time": "2022-03-21T13:36:10",
    "perperson_last_modified_date_time": "2021-05-05T11:49:44",
    "date_of_birth": "1974-05-29T00:00:00",
    "preferred_last_name": "SHEN",
    "formal_full_name": "Yu SHEN",
    "first_name": "Yu",
    "gender": "F",
    "gender_value": "女",
    "last_name": "SHEN",
    "marital_status_id": "1892",
    "marital_status": "M",
    "marital_status_value": "已婚",
    "nationality": "CHN",
    "preferred_first_name": "Yu",
    "last_name_alt1": "沈",
    "first_name_alt1": "矞",
    "last_name_alt2": "SHEN",
    "first_name_alt2": "Yu",
    "last_name_cn": "沈",
    "first_name_cn": "矞",
    "formalName": "Yu SHEN",
    "perpersonal_last_modified_date_time": "2021-05-05T19:03:46",
    "national_id": "320626197405293028",
    "national_id_card_type": "ResidentIdCard",
    "national_id_region": "CHN",
    "national_id_is_primary": 1,
    "national_id_expiration_date": null,
    "national_id_issue_date": null,
    "national_id_issuing_authority": null,
    "Effective_start_date": null,
    "account_number": "1001082901211162316",
    "account_owner": "沈矞",
    "bank": "CN_ICBC",
    "province_of_hukou_id": null,
    "province_of_hukou": null,
    "province_of_hukou_value": null,
    "city_of_hukou_id": null,
    "city_of_hukou": null,
    "city_of_hukou_value": null,
    "place_of_hukou": null,
    "level_of_challenge": null,
    "hukou_type_id": null,
    "hukou_type": null,
    "hukou_type_value": null,
    "type_of_challenge_id": null,
    "type_of_challenge": null,
    "type_of_challenge_value": null,
    "reference_number": null,
    "ethnic_group": null,
    "number_of_children": null,
    "political_status": null,
    "date_of_marriage": null,
    "userId": "10030227",
    "probation_period_end_date": null,
    "social_insurance_payment_date": null,
    "original_start_date": null,
    "service_date": null,
    "seniority_start_date": "2001-10-26T00:00:00",
    "probation_start_date": "2001-10-26T00:00:00",
    "legacy_hris_id": "00000214",
    "probation_period_number": null,
    "probation_period_frequency": null,
    "probation_status": null,
    "entry_into_group": "2001-10-26T00:00:00",
    "job_level_id": "7633",
    "job_level": "NM",
    "job_level_value": "非经理",
    "startdate": "2022-03-12T00:00:00",
    "company": "C0100",
    "division": "60020103",
    "department": "60020823",
    "contract_start_date": "2013-10-26T00:00:00",
    "contract_end_date": "9999-12-31T00:00:00",
    "contract_type_id": "290234",
    "contract_type": "CHN-NF",
    "contract_type_value": "无固定期限",
    "cost_center": "A11YI1TZZZ",
    "health_certificate_effective_date": null,
    "health_certificate_expiration_Date": null,
    "health_certificate": null,
    "attendance_type_id": null,
    "attendance_type": "289649",
    "attendance_type_value": null,
    "job_family_id": null,
    "job_family": "60000006",
    "job_family_value": null,
    "brand": "CS",
    "employee_class_id": "1256",
    "employee_class": "P",
    "employee_class_value": "正式员工(无固定期限)",
    "event_reason": "TERMEND",
    "job_classification": "NONE",
    "location": "上海",
    "subsidy_criteria_id": null,
    "subsidy_criteria": null,
    "subsidy_criteria_value": null,
    "position": "50210220",
    "position_entry_date": "2021-01-01T00:00:00",
    "manager": "10030210",
    "event": "1934",
    "job_function": "60000104",
    "grade_shk": null,
    "employee_type": "7749",
    "local_job_title": "培训担当",
    "public_job_title_eng": "Training Specialist",
    "mode_of_employment_id": null,
    "mode_of_employment": null,
    "mode_of_employment_value": null,
    "branch_office": null,
    "positionNav_externalName_defaultValue": "Training Specialist",
    "employment_status_id": "1902",
    "employment_status_code": "T",
    "employment_status_value": "已离职",
    "empjob_last_modified_date_time": "2022-03-02T08:31:32",
    "compensation_startDate": "2022-03-01T00:00:00",
    "pay_group": "CHN_SCH_1",
    "pay_component": "60000114",
    "currency": "CNY",
    "frequency": "60000010",
    "amount": 10150.0,
    "recurring_startDate": "2022-03-01T00:00:00",
    "termination_Date": "2022-03-11T00:00:00",
    "last_date_worked": "2022-03-11T00:00:00",
    "termination_sub_reason": null,
    "empemploymenttermination_last_modified_date_time": "2022-03-02T08:31:30",
    "email": [
      {
        "email_type": "B",
        "email_type_value": "公司",
        "email_address": "shenyu@shiseido.cn",
        "personIdExternal": "10030227",
        "is_primary": 1,
        "last_modified_date_time": "2021-05-05T19:06:55"
      }
    ],
    "phone": [
      {
        "phone_type": "B",
        "phone_type_value": "公司",
        "extension": null,
        "phone_number": "021-xxxxxx",
        "country_code": "5239",
        "region_code": "44",
        "personIdExternal": "10030227",
        "last_modified_date_time": "2021-12-24T11:45:14"
      },
      {
        "phone_type": "P",
        "phone_type_value": "个人手机",
        "extension": null,
        "phone_number": "xxxxxx",
        "country_code": "5239",
        "region_code": "44",
        "personIdExternal": "10030227",
        "last_modified_date_time": "2021-05-05T19:06:45"
      }
    ],
    "address": [],
    "contacts": []
  }
]

All values ending in _value are the actual mapped values for the picklist that correspond to values without _value.

The following is the mapping between employee status dictionaries.

externalCodeoptionIdlabel_zh_CNlabel_defaultValue
A1910在职Active
D1909非活动Dormant
F1906暂时解雇Furlough
O1905已取消Cancelled
P1908带薪假Paid Leave
R1907已退休Retired
S1903已暂停Suspended
T1902已离职Inactive
U1904无薪休假Unpaid Leave
RNS273564已报告不出现Reported No Show

3.6 Regional information query

Interface Request: /api/v1/sf/division
Interface Description: Querying area information.
Request method: GET

Request Param Description:

Field NameField Descriptionrequired
pageSizeNumber of entries returned per page, default 10N
pageNopage number default 0N
lastModifiedDateTimeFilter data that was last updated later than this time.N
externalCodequery by externalCodeN
statusquery by statusN

Request body example

https://schm-api-test.shiseido.cn/schm-hr-eapi/api/v1/sf/division?pageSize=10&pageNo=0

pageNo can be understood as "number of pages to be skipped", and the results displayed are the data after pageNo x pageSize. So if you want to display the first page of data, then pageNo is 0.
only return CHN and HKG data.
The cust_LegalEntity returns its owning company.If there are more than one, they are separated by commas (,).

Response body example

[
    {
        "headOfUnit": null,
        "name_en_US": "General Manager",
        "lastModifiedDateTime": "2021-05-04T08:03:47Z",
        "externalCode": "60020501",
        "cust_ParentDivision": null,
        "name": "General Manager",
        "createdDateTime": "2021-05-04T08:03:47Z",
        "startDate": "1998-02-11T00:00:00Z",
        "name_zh_CN": "总经理",
        "status": "A",
        "cust_LegalEntity": "C0101"
    },
    {
        "headOfUnit": null,
        "name_en_US": "Administration Division",
        "lastModifiedDateTime": "2021-05-04T08:03:47Z",
        "externalCode": "60020502",
        "cust_ParentDivision": null,
        "name": "Administration Division",
        "createdDateTime": "2021-05-04T08:03:47Z",
        "startDate": "1998-02-11T00:00:00Z",
        "name_zh_CN": "管理本部",
        "status": "A",
        "cust_LegalEntity": "C0101"
    },
    {
        "headOfUnit": null,
        "name_en_US": "Production Division",
        "lastModifiedDateTime": "2021-05-04T08:03:47Z",
        "externalCode": "60020503",
        "cust_ParentDivision": null,
        "name": "Production Division",
        "createdDateTime": "2021-05-04T08:03:47Z",
        "startDate": "1998-02-11T00:00:00Z",
        "name_zh_CN": "生产本部",
        "status": "A",
        "cust_LegalEntity": "C0101"
    },
    {
        "headOfUnit": null,
        "name_en_US": "Factory Managing Director",
        "lastModifiedDateTime": "2021-05-04T08:03:47Z",
        "externalCode": "60020504",
        "cust_ParentDivision": null,
        "name": "Factory Managing Director",
        "createdDateTime": "2021-05-04T08:03:47Z",
        "startDate": "1998-02-11T00:00:00Z",
        "name_zh_CN": "工场长",
        "status": "A",
        "cust_LegalEntity": "C0101"
    },
    {
        "headOfUnit": null,
        "name_en_US": "Shiseido China Innovation Center",
        "lastModifiedDateTime": "2021-05-04T02:44:41Z",
        "externalCode": "60020001",
        "cust_ParentDivision": null,
        "name": "Shiseido China Innovation Center",
        "createdDateTime": "2021-05-04T02:44:41Z",
        "startDate": "2001-12-18T00:00:00Z",
        "name_zh_CN": "资生堂中国研发中心",
        "status": "A",
        "cust_LegalEntity": "C0101"
    },
    {
        "headOfUnit": null,
        "name_en_US": "Digital Transformation Office",
        "lastModifiedDateTime": "2021-05-05T10:26:46Z",
        "externalCode": "60020117",
        "cust_ParentDivision": null,
        "name": "Digital Transformation Office",
        "createdDateTime": "2021-05-05T10:26:46Z",
        "startDate": "2003-12-24T00:00:00Z",
        "name_zh_CN": "Digital Transformation Office",
        "status": "A",
        "cust_LegalEntity": "C0101"
    },
    {
        "headOfUnit": null,
        "name_en_US": "Beauty Device Department",
        "lastModifiedDateTime": "2021-05-05T10:26:46Z",
        "externalCode": "60020121",
        "cust_ParentDivision": null,
        "name": "Beauty Device Department",
        "createdDateTime": "2021-05-05T10:26:46Z",
        "startDate": "2003-12-24T00:00:00Z",
        "name_zh_CN": "Beauty Device Department",
        "status": "A",
        "cust_LegalEntity": "C0101"
    },
    {
        "headOfUnit": null,
        "name_en_US": "Brand Shiseido Department",
        "lastModifiedDateTime": "2021-05-05T10:26:46Z",
        "externalCode": "60020122",
        "cust_ParentDivision": null,
        "name": "Brand Shiseido Department",
        "createdDateTime": "2021-05-05T10:26:46Z",
        "startDate": "2003-12-24T00:00:00Z",
        "name_zh_CN": "Brand Shiseido Department",
        "status": "A",
        "cust_LegalEntity": "C0101"
    },
    {
        "headOfUnit": null,
        "name_en_US": "Emerging Brands Department",
        "lastModifiedDateTime": "2021-05-05T10:26:46Z",
        "externalCode": "60020123",
        "cust_ParentDivision": null,
        "name": "Emerging Brands Department",
        "createdDateTime": "2021-05-05T10:26:46Z",
        "startDate": "2003-12-24T00:00:00Z",
        "name_zh_CN": "Emerging Brands Department",
        "status": "A",
        "cust_LegalEntity": "C0101"
    },
    {
        "headOfUnit": null,
        "name_en_US": "Business Development Department",
        "lastModifiedDateTime": "2021-05-05T10:26:46Z",
        "externalCode": "60020128",
        "cust_ParentDivision": null,
        "name": "Business Development Department",
        "createdDateTime": "2021-05-05T10:26:46Z",
        "startDate": "2003-12-24T00:00:00Z",
        "name_zh_CN": "Business Development Department",
        "status": "A",
        "cust_LegalEntity": "C0101"
    }
]

3.7 Department information query

Interface Request: /api/v1/sf/department
Interface Description: Query departmental information from successfactors.
Request method: GET

Request Param Description:

Field NameField Descriptionrequired
pageSizeNumber of entries returned per page, default 10N
pageNopage number default 0N
lastModifiedDateTimeFilter data that was last updated later than this time.N
externalCodequery by externalCodeN
statusquery by statusN

Request body example

https://schm-api-test.shiseido.cn/schm-hr-eapi/api/v1/sf/department?pageSize=10&pageNo=0

pageNo can be understood as "number of pages to be skipped", and the results displayed are the data after pageNo x pageSize. So if you want to display the first page of data, then pageNo is 0.
only return CHN and HKG data.
The cust_LegalEntity returns its owning company.If there are more than one, they are separated by commas (,).
The cust_Division returns its parent department.If there are more than one, they are separated by commas (,).

Response body example

[
    {
        "cust_orgOfficialNameEN": null,
        "parent": "60020001",
        "description_ko_KR": null,
        "lastModifiedDateTime": "2021-10-21T06:53:16",
        "name_localized": "President & C.O.O.",
        "externalCode": "60020001",
        "description_th_TH": null,
        "endDate": "9999-12-31T00:00:00",
        "entityUUID": "2EEF463BA5F64B84A31DFDF25CF7BDEB",
        "name_ko_KR": null,
        "createdDateTime": "2021-05-04T03:14:59",
        "name_th_TH": null,
        "description_pt_BR": null,
        "cust_orgIdForInterface": null,
        "description_es_ES": null,
        "name_pt_BR": null,
        "description_nl_NL": null,
        "cust_deptLevel": null,
        "name_nl_NL": null,
        "costCenter": "NONE",
        "description_defaultValue": "301",
        "cust_orgOfficialNameJA": null,
        "cust_orgNameForInterfaceEN2": null,
        "name_de_DE": null,
        "cust_orgNameForInterfaceEN3": null,
        "name_zh_TW": null,
        "cust_orgNameForInterfaceEN1": null,
        "name": "President & C.O.O.",
        "name_es_ES": null,
        "description_en_US": "301",
        "cust_orgNameForInterfaceEN4": null,
        "cust_orgNameForInterfaceEN5": null,
        "description_en_DEBUG": null,
        "startDate": "2001-12-18T00:00:00",
        "description_it_IT": null,
        "description_ru_RU": null,
        "status": "A",
        "name_ru_RU": null,
        "description_ja_JP": null,
        "description_fr_FR": null,
        "name_it_IT": null,
        "description": "301",
        "description_de_DE": null,
        "name_fr_FR": null,
        "name_en_DEBUG": null,
        "name_ja_JP": null,
        "createdOn": "2021-05-04T05:14:59",
        "cust_organizationalRegion": null,
        "headOfUnit": null,
        "name_en_US": "President & C.O.O.",
        "description_zh_TW": null,
        "name_zh_CN": "总经理",
        "name_defaultValue": "President & C.O.O.",
        "cust_orgNameForInterfaceJA1": null,
        "description_bs_ID": null,
        "description_en_GB": null,
        "lastModifiedBy": "10032859",
        "cust_orgNameForInterfaceJA4": null,
        "cust_orgNameForInterfaceJA5": null,
        "cust_orgNameForInterfaceJA2": null,
        "cust_orgNameForInterfaceJA3": null,
        "name_en_GB": null,
        "name_vi_VN": null,
        "lastModifiedOn": "2021-10-21T08:53:16",
        "description_vi_VN": null,
        "description_zh_CN": null,
        "createdBy": "CN_DM_USER",
        "mdfSystemRecordId": "32E7EBCA47314794ABF48A9CC396563E",
        "description_localized": "301",
        "name_bs_ID": null,
        "cust_DivisionProp": "60020001",
        "cust_LegalEntityProp": "H0700"
    },
    {
        "cust_orgOfficialNameEN": null,
        "parent": "60020001",
        "description_ko_KR": null,
        "lastModifiedDateTime": "2021-10-21T06:53:33",
        "name_localized": "Vice President",
        "externalCode": "60020002",
        "description_th_TH": null,
        "endDate": "9999-12-31T00:00:00",
        "entityUUID": "08C8EF889A924C9F9B549B095835203C",
        "name_ko_KR": null,
        "createdDateTime": "2021-05-04T03:14:59",
        "name_th_TH": null,
        "description_pt_BR": null,
        "cust_orgIdForInterface": null,
        "description_es_ES": null,
        "name_pt_BR": null,
        "description_nl_NL": null,
        "cust_deptLevel": null,
        "name_nl_NL": null,
        "costCenter": "NONE",
        "description_defaultValue": "302",
        "cust_orgOfficialNameJA": null,
        "cust_orgNameForInterfaceEN2": null,
        "name_de_DE": null,
        "cust_orgNameForInterfaceEN3": null,
        "name_zh_TW": null,
        "cust_orgNameForInterfaceEN1": null,
        "name": "Vice President",
        "name_es_ES": null,
        "description_en_US": "302",
        "cust_orgNameForInterfaceEN4": null,
        "cust_orgNameForInterfaceEN5": null,
        "description_en_DEBUG": null,
        "startDate": "2001-12-18T00:00:00",
        "description_it_IT": null,
        "description_ru_RU": null,
        "status": "A",
        "name_ru_RU": null,
        "description_ja_JP": null,
        "description_fr_FR": null,
        "name_it_IT": null,
        "description": "302",
        "description_de_DE": null,
        "name_fr_FR": null,
        "name_en_DEBUG": null,
        "name_ja_JP": null,
        "createdOn": "2021-05-04T05:14:59",
        "cust_organizationalRegion": null,
        "headOfUnit": null,
        "name_en_US": "Vice President",
        "description_zh_TW": null,
        "name_zh_CN": "副总经理(北京)",
        "name_defaultValue": "Vice President",
        "cust_orgNameForInterfaceJA1": null,
        "description_bs_ID": null,
        "description_en_GB": null,
        "lastModifiedBy": "10032859",
        "cust_orgNameForInterfaceJA4": null,
        "cust_orgNameForInterfaceJA5": null,
        "cust_orgNameForInterfaceJA2": null,
        "cust_orgNameForInterfaceJA3": null,
        "name_en_GB": null,
        "name_vi_VN": null,
        "lastModifiedOn": "2021-10-21T08:53:33",
        "description_vi_VN": null,
        "description_zh_CN": null,
        "createdBy": "CN_DM_USER",
        "mdfSystemRecordId": "EE204D1BE90F4CAABFF28C6F4C4FA398",
        "description_localized": "302",
        "name_bs_ID": null,
        "cust_DivisionProp": "60020001",
        "cust_LegalEntityProp": "H0700"
    },
    {
        "cust_orgOfficialNameEN": null,
        "parent": "60020001",
        "description_ko_KR": null,
        "lastModifiedDateTime": "2021-10-21T06:53:49",
        "name_localized": "Administration Department",
        "externalCode": "60020003",
        "description_th_TH": null,
        "endDate": "9999-12-31T00:00:00",
        "entityUUID": "A90A18EEC0C3407FA16331537557457F",
        "name_ko_KR": null,
        "createdDateTime": "2021-05-04T03:14:59",
        "name_th_TH": null,
        "description_pt_BR": null,
        "cust_orgIdForInterface": null,
        "description_es_ES": null,
        "name_pt_BR": null,
        "description_nl_NL": null,
        "cust_deptLevel": null,
        "name_nl_NL": null,
        "costCenter": "NONE",
        "description_defaultValue": "304",
        "cust_orgOfficialNameJA": null,
        "cust_orgNameForInterfaceEN2": null,
        "name_de_DE": null,
        "cust_orgNameForInterfaceEN3": null,
        "name_zh_TW": null,
        "cust_orgNameForInterfaceEN1": null,
        "name": "Administration Department",
        "name_es_ES": null,
        "description_en_US": "304",
        "cust_orgNameForInterfaceEN4": null,
        "cust_orgNameForInterfaceEN5": null,
        "description_en_DEBUG": null,
        "startDate": "2001-12-18T00:00:00",
        "description_it_IT": null,
        "description_ru_RU": null,
        "status": "A",
        "name_ru_RU": null,
        "description_ja_JP": null,
        "description_fr_FR": null,
        "name_it_IT": null,
        "description": "304",
        "description_de_DE": null,
        "name_fr_FR": null,
        "name_en_DEBUG": null,
        "name_ja_JP": null,
        "createdOn": "2021-05-04T05:14:59",
        "cust_organizationalRegion": null,
        "headOfUnit": null,
        "name_en_US": "Administration Department",
        "description_zh_TW": null,
        "name_zh_CN": "经营管理部",
        "name_defaultValue": "Administration Department",
        "cust_orgNameForInterfaceJA1": null,
        "description_bs_ID": null,
        "description_en_GB": null,
        "lastModifiedBy": "10032859",
        "cust_orgNameForInterfaceJA4": null,
        "cust_orgNameForInterfaceJA5": null,
        "cust_orgNameForInterfaceJA2": null,
        "cust_orgNameForInterfaceJA3": null,
        "name_en_GB": null,
        "name_vi_VN": null,
        "lastModifiedOn": "2021-10-21T08:53:49",
        "description_vi_VN": null,
        "description_zh_CN": null,
        "createdBy": "CN_DM_USER",
        "mdfSystemRecordId": "07B1FC06D59D4C81BBD130C3190027EB",
        "description_localized": "304",
        "name_bs_ID": null,
        "cust_DivisionProp": "60020001",
        "cust_LegalEntityProp": "H0700"
    },
    {
        "cust_orgOfficialNameEN": null,
        "parent": "60020001",
        "description_ko_KR": null,
        "lastModifiedDateTime": "2021-10-21T06:54:03",
        "name_localized": "Product Development Department(Beijing)",
        "externalCode": "60020004",
        "description_th_TH": null,
        "endDate": "9999-12-31T00:00:00",
        "entityUUID": "008B26EBC56A4E279FC9D0E5E47A3980",
        "name_ko_KR": null,
        "createdDateTime": "2021-05-04T03:14:59",
        "name_th_TH": null,
        "description_pt_BR": null,
        "cust_orgIdForInterface": null,
        "description_es_ES": null,
        "name_pt_BR": null,
        "description_nl_NL": null,
        "cust_deptLevel": null,
        "name_nl_NL": null,
        "costCenter": "NONE",
        "description_defaultValue": "305",
        "cust_orgOfficialNameJA": null,
        "cust_orgNameForInterfaceEN2": null,
        "name_de_DE": null,
        "cust_orgNameForInterfaceEN3": null,
        "name_zh_TW": null,
        "cust_orgNameForInterfaceEN1": null,
        "name": "Product Development Department(Beijing)",
        "name_es_ES": null,
        "description_en_US": "305",
        "cust_orgNameForInterfaceEN4": null,
        "cust_orgNameForInterfaceEN5": null,
        "description_en_DEBUG": null,
        "startDate": "2001-12-18T00:00:00",
        "description_it_IT": null,
        "description_ru_RU": null,
        "status": "A",
        "name_ru_RU": null,
        "description_ja_JP": null,
        "description_fr_FR": null,
        "name_it_IT": null,
        "description": "305",
        "description_de_DE": null,
        "name_fr_FR": null,
        "name_en_DEBUG": null,
        "name_ja_JP": null,
        "createdOn": "2021-05-04T05:14:59",
        "cust_organizationalRegion": null,
        "headOfUnit": null,
        "name_en_US": "Product Development Department(Beijing)",
        "description_zh_TW": null,
        "name_zh_CN": "制品开发部(北京)",
        "name_defaultValue": "Product Development Department(Beijing)",
        "cust_orgNameForInterfaceJA1": null,
        "description_bs_ID": null,
        "description_en_GB": null,
        "lastModifiedBy": "10032859",
        "cust_orgNameForInterfaceJA4": null,
        "cust_orgNameForInterfaceJA5": null,
        "cust_orgNameForInterfaceJA2": null,
        "cust_orgNameForInterfaceJA3": null,
        "name_en_GB": null,
        "name_vi_VN": null,
        "lastModifiedOn": "2021-10-21T08:54:03",
        "description_vi_VN": null,
        "description_zh_CN": null,
        "createdBy": "CN_DM_USER",
        "mdfSystemRecordId": "7F1789A90556436EA077E915400AD0EC",
        "description_localized": "305",
        "name_bs_ID": null,
        "cust_DivisionProp": "60020001",
        "cust_LegalEntityProp": "H0700"
    },
    {
        "cust_orgOfficialNameEN": null,
        "parent": "60020001",
        "description_ko_KR": null,
        "lastModifiedDateTime": "2021-12-24T06:10:53",
        "name_localized": "Quality Assessment Department",
        "externalCode": "60020005",
        "description_th_TH": null,
        "endDate": "9999-12-31T00:00:00",
        "entityUUID": "124DAF15B17A42D3B9345CBD8F4E7CCB",
        "name_ko_KR": null,
        "createdDateTime": "2021-12-24T06:10:53",
        "name_th_TH": null,
        "description_pt_BR": null,
        "cust_orgIdForInterface": null,
        "description_es_ES": null,
        "name_pt_BR": null,
        "description_nl_NL": null,
        "cust_deptLevel": null,
        "name_nl_NL": null,
        "costCenter": "NONE",
        "description_defaultValue": "306",
        "cust_orgOfficialNameJA": null,
        "cust_orgNameForInterfaceEN2": null,
        "name_de_DE": null,
        "cust_orgNameForInterfaceEN3": null,
        "name_zh_TW": null,
        "cust_orgNameForInterfaceEN1": null,
        "name": "Quality Assessment Department",
        "name_es_ES": null,
        "description_en_US": "306",
        "cust_orgNameForInterfaceEN4": null,
        "cust_orgNameForInterfaceEN5": null,
        "description_en_DEBUG": null,
        "startDate": "2022-01-01T00:00:00",
        "description_it_IT": null,
        "description_ru_RU": null,
        "status": "A",
        "name_ru_RU": null,
        "description_ja_JP": null,
        "description_fr_FR": null,
        "name_it_IT": null,
        "description": "306",
        "description_de_DE": null,
        "name_fr_FR": null,
        "name_en_DEBUG": null,
        "name_ja_JP": null,
        "createdOn": "2021-12-24T07:10:53",
        "cust_organizationalRegion": null,
        "headOfUnit": null,
        "name_en_US": "Quality Assessment Department",
        "description_zh_TW": null,
        "name_zh_CN": "品质评价部",
        "name_defaultValue": "Quality Assessment Department",
        "cust_orgNameForInterfaceJA1": null,
        "description_bs_ID": null,
        "description_en_GB": null,
        "lastModifiedBy": "10032859",
        "cust_orgNameForInterfaceJA4": null,
        "cust_orgNameForInterfaceJA5": null,
        "cust_orgNameForInterfaceJA2": null,
        "cust_orgNameForInterfaceJA3": null,
        "name_en_GB": null,
        "name_vi_VN": null,
        "lastModifiedOn": "2021-12-24T07:10:53",
        "description_vi_VN": null,
        "description_zh_CN": null,
        "createdBy": "10032859",
        "mdfSystemRecordId": "956633FB46C14C6086BBC6533D3C08FC",
        "description_localized": "306",
        "name_bs_ID": null,
        "cust_DivisionProp": "60020001",
        "cust_LegalEntityProp": "H0700"
    }
]

3.8 Company information query

Interface Request: /api/v1/sf/company
Interface Description: Query company information from successfactors.
Request method: GET

Request Param Description:

Field NameField Descriptionrequired
pageSizeNumber of entries returned per page, default 10N
pageNopage number default 0N
lastModifiedDateTimeFilter data that was last updated later than this time.N
externalCodequery by externalCodeN
statusquery by statusN

Request body example

https://schm-api-test.shiseido.cn/schm-hr-eapi/api/v1/sf/company?pageSize=10&pageNo=0

pageNo can be understood as "number of pages to be skipped", and the results displayed are the data after pageNo x pageSize. So if you want to display the first page of data, then pageNo is 0.
only return CHN and HKG data.

Response body example

[
    {
        "name_en_US": "Shiseido China Co., Ltd.",
        "lastModifiedDateTime": "2023-12-22T05:31:26Z",
        "externalCode": "C0100",
        "createdDateTime": "2023-11-09T05:53:15Z",
        "startDate": "2023-10-01T00:00:00Z",
        "name_zh_CN": "资生堂(中国)投资有限公司",
        "status": "A"
    },
    {
        "name_en_US": "Shiseido Liyuan Cosmetics Co., Ltd.",
        "lastModifiedDateTime": "2023-12-22T05:31:26Z",
        "externalCode": "C0200",
        "createdDateTime": "2023-11-09T05:53:15Z",
        "startDate": "2023-10-01T00:00:00Z",
        "name_zh_CN": "资生堂丽源化妆品有限公司",
        "status": "A"
    },
    {
        "name_en_US": "Shiseido Hong Kong Limited",
        "lastModifiedDateTime": "2023-12-22T05:31:26Z",
        "externalCode": "C0300",
        "createdDateTime": "2023-11-09T05:53:15Z",
        "startDate": "2023-10-01T00:00:00Z",
        "name_zh_CN": "資生堂香港有限公司",
        "status": "A"
    },
    {
        "name_en_US": "Shiseido Guangdong Cosmetics., Ltd.",
        "lastModifiedDateTime": "2023-12-22T05:31:26Z",
        "externalCode": "C0500",
        "createdDateTime": "2023-11-09T05:53:15Z",
        "startDate": "2023-10-01T00:00:00Z",
        "name_zh_CN": "资生堂广东化妆品有限公司",
        "status": "A"
    },
    {
        "name_en_US": "Shiseido Ziyue (Shanghai) Management Consulting Co., Ltd.",
        "lastModifiedDateTime": "2023-12-22T05:31:26Z",
        "externalCode": "C0600",
        "createdDateTime": "2023-11-09T05:53:15Z",
        "startDate": "2023-10-01T00:00:00Z",
        "name_zh_CN": "資生堂資悦(上海)管理咨詢有限公司",
        "status": "A"
    },
    {
        "name_en_US": "Shiseido Cosmetics Manufacturing Co., LTD.",
        "lastModifiedDateTime": "2023-12-22T05:31:26Z",
        "externalCode": "H0600",
        "createdDateTime": "2023-11-09T05:53:15Z",
        "startDate": "2023-10-01T00:00:00Z",
        "name_zh_CN": "资生堂化妆品制造有限公司",
        "status": "A"
    }
]

3.9 Onboarding data query

Interface Request: /api/v1/sf/onboarding
Interface Description: Query onboarding employee data. The current data source is onboarding's SFTP server file.
Request method: GET

This interface is almost identical in structure to the 3.5 employee interface, except that the data content is derived from onboarding data.

onboarding data has no birth_date attribute and returns null consistently.

Request Param Description:

Field NameField Descriptionrequired
pageSizeNumber of entries returned per page, default 10N
pageNopage number default 0N
last_modified_date_timequery last updatetime after this valueN

Request body example

https://schm-api.shiseido.cn/schm-hr-eapi/api/v1/sf/onboarding?pageSize=10&pageNo=0

pageNo can be understood as "number of pages to be skipped", and the results displayed are the data after pageNo x pageSize. So if you want to display the first page of data, then pageNo is 0.

Response body Description

mulesoft columnSuccessFactors entitySuccessFactors columncolumn description
person_idPerPersonpersonIdExternal员工号
last_modified_date_timeN/AN/A整体数据最后更新日期,该值取所有entity最后更新时间最新的一个。也是参数条件中进行判定的字段
perperson_last_modified_date_timePerPersonlastModifiedDateTimePerPerson最后更新时间
date_of_birthPerPersondateOfBirth出生日期
preferred_last_namePerPersonalcustomString1英文姓
formal_full_namePerPersonalcustomString2英文姓名
first_namePerPersonalfirstName英文名
genderPerPersonalgender性别
gender_valuePerPersonalgender性别(经过pickList转义)
last_namePerPersonallastName英文名
marital_status_idPerPersonalmaritalStatus婚姻状况(sf原值)
marital_statusPerPersonalmaritalStatus婚姻状况
marital_status_valuePerPersonalmaritalStatus婚姻状况(经过pickList转义)
nationalityPerPersonalnationality国籍
preferred_first_namePerPersonalpreferredName尊称
last_name_alt1PerPersonallastNameAlt1中文姓
first_name_alt1PerPersonalfirstNameAlt1中文名
last_name_alt2PerPersonallastNameAlt2中文姓(备用)
first_name_alt2PerPersonalfirstNameAlt2中文名(备用)
last_name_cnPerPersonallastNameAlt1 or lastNameAlt2取lastNameAlt1 或lastNameAlt2 中是中文的
first_name_cnPerPersonalfirstNameAlt1 or firstNameAlt2取firstNameAlt1或firstNameAlt2中是中文的
formalNamePerPersonalformalNamee_name
perpersonal_last_modified_date_timePerPersonallastModifiedDateTimee_namePerPersonal
national_idPerNationalIdnationalId身份证号
national_id_card_typePerNationalIdcardType证件类型
national_id_regionPerNationalIdcountry国家/地区
national_id_is_primaryPerNationalIdisPrimary主要
national_id_expiration_datePerNationalIdcustomDate1到期日期
national_id_issue_datePerNationalIdcustomDate2发证日期
national_id_issuing_authorityPerNationalIdcustomString1发证机构
email_typePerEmailemailType邮箱类型
email_addressPerEmailemailAddress公司邮箱、个人电子邮件
is_primaryPerEmailisPrimary主要
phone_typePerPhonephoneType公司电话、手机
extensionPerPhoneextension分机
phone_numberPerPhonephoneNumber公司电话、手机
country_codePerPhonecountryCode国家/地区代码
region_codePerPhonecustomString6国家/地区
country_codePerPhonecountryCode国家/地区代码
region_codePerPhonecustomString6国家/地区
address_typePerAddressDEFLTaddressType常住地址、户籍地址
detailedPerAddressDEFLTaddress1详细地址
streetPerAddressDEFLTaddress2街道
districtPerAddressDEFLTaddress3县/地区
countryPerAddressDEFLTcountry国家/地区
provincePerAddressDEFLTstate省/直辖市
cityPerAddressDEFLTcity
effective_start_datePaymentInformationV3effectiveStartDate生效日期
account_numberPaymentInformationDetailV3accountNumber银行帐号
account_ownerPaymentInformationDetailV3accountOwner开户人
bankPaymentInformationDetailV3bank银行名称
namePerEmergencyContactsname姓名
relationshipPerEmergencyContactsrelationship关系
phonePerEmergencyContactsphone手机号码
province_of_hukou_idPerGlobalInfoCHNcustomString1户口所在地(sf原值)
province_of_hukouPerGlobalInfoCHNcustomString1户口所在地
province_of_hukou_valuePerGlobalInfoCHNcustomString1户口所在地(经过pickList转义)
city_of_hukou_idPerGlobalInfoCHNcustomString2户口所在地(sf原值)
city_of_hukouPerGlobalInfoCHNcustomString2户口所在地
city_of_hukou_valuePerGlobalInfoCHNcustomString2户口所在地(经过pickList转义)
place_of_hukouPerGlobalInfoCHNcustomString3户口所在地
level_of_challengePerGlobalInfoCHNcustomString4残疾等级
hukou_type_idPerGlobalInfoCHNgenericNumber1户口性质 (SCH, SZC)(sf原值)
hukou_typePerGlobalInfoCHNgenericNumber1户口性质 (SCH, SZC)
hukou_type_valuePerGlobalInfoCHNgenericNumber1户口性质 (SCH, SZC)(经过pickList转义)
type_of_challenge_idPerGlobalInfoCHNgenericString2残疾描述(sf原值)
type_of_challengePerGlobalInfoCHNgenericString2残疾描述
type_of_challenge_valuePerGlobalInfoCHNgenericString2残疾描述(经过pickList转义)
reference_numberPerGlobalInfoCHNgenericString4是否残疾
ethnic_groupPerGlobalInfoCHNgenericNumber4民族
number_of_childrenPerGlobalInfoCHNgenericNumber5子女数
political_statusPerGlobalInfoCHNcustomString5政治面貌
date_of_marriagePerGlobalInfoCHNcustomDate1结婚日期
userIdEmpEmploymentuserId用户编码
probation_period_end_dateEmpEmploymentcustomDate1试用期结束日期
social_insurance_payment_dateEmpEmploymentcustomDate23社保缴纳日期
original_start_dateEmpEmploymentoriginalStartDate社会工龄起算日
service_dateEmpEmploymentServiceDate社会工龄起算日
seniority_start_dateEmpEmploymentseniorityDate有效雇佣日期
probation_start_dateEmpEmploymentstartDate雇佣日
legacy_hris_idEmpEmploymentcustomString11HRM员工编号
probation_start_dateEmpEmploymentstartDate入职日期
probation_period_numberEmpEmploymentcustomDouble1试用期
probation_period_frequencyEmpEmploymentcustomString1试用期单位
probation_statusEmpEmploymentcustomString2试用期状态
entry_into_groupEmpEmploymentcustomDate2加入集团日期
job_level_idEmpJobcustomString92人事级别(sf原值)
job_levelEmpJobcustomString92人事级别
job_level_valueEmpJobcustomString92人事级别(经过pickList转义)
startdateEmpJobstartDate部门变动日期
companyEmpJobcompany公司
divisionEmpJobdivision本部门
departmentEmpJobdepartment部门,子部门,团队,小组
contract_start_dateEmpJobcustomDate1合同开始日期
contract_end_dateEmpJobcontractEndDate合同结束日期
contract_type_idEmpJobcontractType无固定期限(sf原值)
contract_typeEmpJobcontractType无固定期限
contract_type_valueEmpJobcontractType无固定期限(经过pickList转义)
cost_centerEmpJobcostCenter成本中心类别
health_certificate_effective_dateEmpJobcustomDate6健康证发证日
health_certificate_expiration_dateEmpJobcustomDate7健康证到期日
health_certificateEmpJobcustomString121健康证
attendance_type_idEmpJobcustomString122工时制(sf原值)
attendance_typeEmpJobcustomString122工时制
attendance_type_valueEmpJobcustomString122工时制(经过pickList转义)
job_family_idEmpJobcustomString15职群(sf原值)
job_familyEmpJobcustomString15职群
job_family_valueEmpJobcustomString15职群(经过pickList转义)
brandEmpJobcustomString59品牌
employee_class_idEmpJobemployeeClass员工类别(sf原值)
employee_classEmpJobemployeeClass员工类别
employee_class_valueEmpJobemployeeClass员工类别(经过pickList转义)
event_reasonEmpJobeventReasonRNS
job_classificationEmpJobjobCode职务等级,担当职务
locationEmpJoblocation所属地区
subsidy_criteria_idEmpJobcustomString128岗位资格(sf原值)
subsidy_criteriaEmpJobcustomString128岗位资格
subsidy_criteria_valueEmpJobcustomString128岗位资格(经过pickList转义)
positionEmpJobposition职位代码
position_entry_dateEmpJobpositionEntryDate职位开始日
managerEmpJobmanagerId直线主管
eventEmpJobevent事件
job_functionEmpJobcustomString16职位职能
grade_shkEmpJobpayGrade香港职级
employee_typeEmpJobemployeeType员工类型
local_job_titleEmpJoblocalJobTitle本地职位名称
public_job_title_engEmpJobjobTitle英语职位名称
mode_of_employment_idEmpJobcustomString160控制C0101的就业视野模式(sf原值)
mode_of_employmentEmpJobcustomString160控制C0101的就业视野模式
mode_of_employment_valueEmpJobcustomString160控制C0101的就业视野模式(经过pickList转义)
branch_officeEmpJobcustomString2默认分支代码
positionNav_externalName_defaultValueEmpJobpositionNav_externalName职务描述 c_title
employment_status_idEmpJobemplStatus在职状态(sf原值)
employment_status_codeEmpJobemplStatus在职状态
employment_status_valueEmpJobemplStatus在职状态(经过pickList转义)
empjob_last_modified_date_timeEmpJoblastModifiedDateTimeEmpJob最后更新时间
compensation_startDateEmpCompensationstartDate薪资体系生效开始日期
pay_groupEmpCompensationpayGroup薪资体系
pay_componentEmpPayCompRecurringpayComponent工资构成/付薪类型
currencyEmpPayCompRecurringcurrencyCode货币
frequencyEmpPayCompRecurringfrequency频率
amountEmpPayCompRecurringpaycompvalue金额
recurring_startDateEmpPayCompRecurringstartDate生效开始日期
termination_DateEmpEmploymentTerminationendDate离职日期
termination_reasonEmpEmploymentTerminationeventReason离职原因
last_date_workedEmpEmploymentTerminationlastDateWorked最后工作日期
empemploymenttermination_last_modified_date_timeEmpEmploymentTerminationlastModifiedDateTimeEmpEmploymentTermination最后更新时间

Response body example

[
    {
    "person_id": "10030227",
    "last_modified_date_time": "2022-03-21T13:36:10",
    "perperson_last_modified_date_time": "2021-05-05T11:49:44",
    "preferred_last_name": "SHEN",
    "formal_full_name": "Yu SHEN",
    "first_name": "Yu",
    "gender": "F",
    "gender_value": "女",
    "last_name": "SHEN",
    "marital_status_id": "1892",
    "marital_status": "M",
    "marital_status_value": "已婚",
    "nationality": "CHN",
    "preferred_first_name": "Yu",
    "last_name_alt1": "沈",
    "first_name_alt1": "矞",
    "last_name_alt2": "SHEN",
    "first_name_alt2": "Yu",
    "last_name_cn": "沈",
    "first_name_cn": "矞",
    "formalName": "Yu SHEN",
    "perpersonal_last_modified_date_time": "2021-05-05T19:03:46",
    "national_id": "320626197405293028",
    "national_id_card_type": "ResidentIdCard",
    "national_id_region": "CHN",
    "national_id_is_primary": 1,
    "national_id_expiration_date": null,
    "national_id_issue_date": null,
    "national_id_issuing_authority": null,
    "Effective_start_date": null,
    "account_number": "1001082901211162316",
    "account_owner": "沈矞",
    "bank": "CN_ICBC",
    "province_of_hukou_id": null,
    "province_of_hukou": null,
    "province_of_hukou_value": null,
    "city_of_hukou_id": null,
    "city_of_hukou": null,
    "city_of_hukou_value": null,
    "place_of_hukou": null,
    "level_of_challenge": null,
    "hukou_type_id": null,
    "hukou_type": null,
    "hukou_type_value": null,
    "type_of_challenge_id": null,
    "type_of_challenge": null,
    "type_of_challenge_value": null,
    "reference_number": null,
    "ethnic_group": null,
    "number_of_children": null,
    "political_status": null,
    "date_of_marriage": null,
    "userId": "10030227",
    "probation_period_end_date": null,
    "social_insurance_payment_date": null,
    "original_start_date": null,
    "service_date": null,
    "seniority_start_date": "2001-10-26T00:00:00",
    "probation_start_date": "2001-10-26T00:00:00",
    "legacy_hris_id": "00000214",
    "probation_period_number": null,
    "probation_period_frequency": null,
    "probation_status": null,
    "entry_into_group": "2001-10-26T00:00:00",
    "job_level_id": "7633",
    "job_level": "NM",
    "job_level_value": "非经理",
    "startdate": "2022-03-12T00:00:00",
    "company": "C0100",
    "division": "60020103",
    "department": "60020823",
    "contract_start_date": "2013-10-26T00:00:00",
    "contract_end_date": "9999-12-31T00:00:00",
    "contract_type_id": "290234",
    "contract_type": "CHN-NF",
    "contract_type_value": "无固定期限",
    "cost_center": "A11YI1TZZZ",
    "health_certificate_effective_date": null,
    "health_certificate_expiration_Date": null,
    "health_certificate": null,
    "attendance_type_id": null,
    "attendance_type": "289649",
    "attendance_type_value": null,
    "job_family_id": null,
    "job_family": "60000006",
    "job_family_value": null,
    "brand": "CS",
    "employee_class_id": "1256",
    "employee_class": "P",
    "employee_class_value": "正式员工(无固定期限)",
    "event_reason": "TERMEND",
    "job_classification": "NONE",
    "location": "上海",
    "subsidy_criteria_id": null,
    "subsidy_criteria": null,
    "subsidy_criteria_value": null,
    "position": "50210220",
    "position_entry_date": "2021-01-01T00:00:00",
    "manager": "10030210",
    "event": "1934",
    "job_function": "60000104",
    "grade_shk": null,
    "employee_type": "7749",
    "local_job_title": "培训担当",
    "public_job_title_eng": "Training Specialist",
    "mode_of_employment_id": null,
    "mode_of_employment": null,
    "mode_of_employment_value": null,
    "branch_office": null,
    "positionNav_externalName_defaultValue": "Training Specialist",
    "employment_status_id": "1902",
    "employment_status_code": "T",
    "employment_status_value": "已离职",
    "empjob_last_modified_date_time": "2022-03-02T08:31:32",
    "compensation_startDate": "2022-03-01T00:00:00",
    "pay_group": "CHN_SCH_1",
    "pay_component": "60000114",
    "currency": "CNY",
    "frequency": "60000010",
    "amount": 10150.0,
    "recurring_startDate": "2022-03-01T00:00:00",
    "termination_Date": "2022-03-11T00:00:00",
    "last_date_worked": "2022-03-11T00:00:00",
    "termination_sub_reason": null,
    "empemploymenttermination_last_modified_date_time": "2022-03-02T08:31:30",
    "email": [
      {
        "email_type": "B",
        "email_type_value": "公司",
        "email_address": "shenyu@shiseido.cn",
        "personIdExternal": "10030227",
        "is_primary": 1,
        "last_modified_date_time": "2021-05-05T19:06:55"
      }
    ],
    "phone": [
      {
        "phone_type": "B",
        "phone_type_value": "公司",
        "extension": null,
        "phone_number": "021-xxxxxx",
        "country_code": "5239",
        "region_code": "44",
        "personIdExternal": "10030227",
        "last_modified_date_time": "2021-12-24T11:45:14"
      },
      {
        "phone_type": "P",
        "phone_type_value": "个人手机",
        "extension": null,
        "phone_number": "xxxxxx",
        "country_code": "5239",
        "region_code": "44",
        "personIdExternal": "10030227",
        "last_modified_date_time": "2021-05-05T19:06:45"
      }
    ],
    "address": [],
    "contacts": []
  }
]

All values ending in _value are the actual mapped values for the picklist that correspond to values without _value.

The following is the mapping between employee status dictionaries.

externalCodeoptionIdlabel_zh_CNlabel_defaultValue
A1910在职Active
D1909非活动Dormant
F1906暂时解雇Furlough
O1905已取消Cancelled
P1908带薪假Paid Leave
R1907已退休Retired
S1903已暂停Suspended
T1902已离职Inactive
U1904无薪休假Unpaid Leave
RNS273564已报告不出现Reported No Show

Reviews